package com.woniu40.petai_user.service;

import com.woniu40.petai_user.entity.Plate;
import com.woniu40.petai_user.mapper.PlateMapper;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class PlateService {

    @Autowired
    PlateMapper plateMapper;

    public List<Plate> findAllPlate(){
        return plateMapper.selectAll();
    }
}
